><

Parameter types for Adobe GoLive 4.0 and later



GLActionGroupParam

GLActionConditionParam

For the OpenAlertWindow.action example, the <csactionparam> item enables the text string input by the user into the message window to be read by the JavaScript code. There are two attributes of the <csactionparam> tag.

NAME: Parameter name. This name can be arbitrarily chosen but must exactly match the parameter name of the associated field in the layout box. In this example the value is "msg," and the name of the box in the layout grid is also "msg." These two values must be identical.

TYPE: Type of parameter. The Parameter Types are predefined values which allow you to add common elements such as pulldown menus, check boxes, text entry fields, etc. to the dialog box. There are a number of parameter types which you can use.

Parameter Types and Their Associated Inspector or Actions palette Elements

Parameters
Attributes
Elements
GLActionBoolParam
Standard Checkbox
Example: Flip Move.action

GLActionColorParam
Control to define a Color.
Example: Set BackColor.action

GLActionConditionParam
Special Control to choose Condition Actions. Condition Actions can return
TRUE or FALSE.
Example: Condition.action

GLActionEnumParam
Pop-up Menu Control
Example: Wipe Transition.action

GLActionGroupParam
Special Control to choose unlimited numbers of Actions.
Example: Action Group.action

GLActionImageParam
Pop-up Menu Control (lists all named images of the current document)
Example: Set Image URL.action

GLActionLayerParam
Pop-up Menu Control (lists all Layers of the current document)
Example: Flip Move.action

GLActionLayerPosParam
Control to define a position of a layer.
Example: Flip Move.action

GLActionNumParam
Editable Text Field for Numbers
Example: Flip Move.action

GLActionPlugInParam
Pop-up Menu Control (lists all named plug-ins (only Audio!) of the current document)
Example: Play Sound.action

GLActionSceneParam
Pop-up Menu Control (lists all scenes (Timeline) of the current document)
Example: Play Scene.action

GLActionStringParam
Editable Text Field
Example: Open Alert Window.action

GLActionURLParam
Control to define a URL.
Example: Set Image URL.action


Creating Actions > Creating your own actions > Parameter types for Adobe GoLive 4.0 and later